package com.jrzh.mvc.service.sys;

import com.jrzh.common.exception.ProjectException;
import com.jrzh.framework.base.service.BaseServiceI;
import com.jrzh.framework.bean.SessionUser;
import com.jrzh.mvc.model.sys.FileModel;
import com.jrzh.mvc.search.sys.FileSearch;
import com.jrzh.mvc.view.sys.FileView;

public interface FileServiceI  extends BaseServiceI<FileModel, FileSearch, FileView>{

	void deleteFile(FileModel model, SessionUser user) throws ProjectException;
	
	void deleteModel(FileModel model, SessionUser user) throws ProjectException;

	void deleteFileModelByKey(String key, SessionUser user)
			throws ProjectException;
	
	String[] getUploadFilePath(String model) throws ProjectException;

}